package cn.tedu.csmall.commons.pojo.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "后台账号新增DTO")
public class AdminAddDTO implements Serializable {

    //序列化ID
    private static final long seraVersionUID=1l;

    @ApiModelProperty(value = "管理员用户名",required = true)
    private String username;

    @ApiModelProperty(value = "管理员密码",required = true)
    private String password;

    @ApiModelProperty(value = "管理员确认密码",required = true)
    private String passwordAct;

    @ApiModelProperty(value = "管理员昵称")
    private String nickname;

    @ApiModelProperty(value = "管理员头像url")
    private String avatar;

    @ApiModelProperty(value = "手机号",required = true)
    private String phone;

    @ApiModelProperty(value = "电子邮箱",required = true)
    private String email;

    @ApiModelProperty(value = "管理员描述")
    private String description;

    @ApiModelProperty(value = "是否启用,1=启用，0=禁用",required = true)
    private Integer enable;
}
